package com.yj.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "provider")
@Component
public interface ProviderService {

    @GetMapping("/index2")
    public String index2();

}